



package wviz.gui;

import java.io.File;
import java.io.IOException;

/**
 * A callback for handeling drag and drop files
 * <p/>
 * @author Mohammad Asgari
 * @version 1.0
 * @date 18-Dec-2008
 */
public interface FileDragAndDropCallback {
    /**
     * Called when ever file dropped into the contianer (i.e. editor pane)
     * For multiple dragged files, this method called multiple times.
     * @param file the dropped file
     * @throws java.io.IOException will be thrown if any exception occurs during reading the drapped file.
     */
    void importFile(File file) throws IOException;
}
